Integrand size = 12, antiderivative size = 102 \[ \int \frac {1}{\sqrt {a+b \arccos (c x)}} \, dx=-\frac {\sqrt {2 \pi } \cos \left (\frac {a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{\sqrt {b} c}+\frac {\sqrt {2 \pi } \operatorname {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right ) \sin \left (\frac {a}{b}\right )}{\sqrt {b} c} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 102, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {4720, 3387, 3386, 3432, 3385, 3433} \[ \int \frac {1}{\sqrt {a+b \arccos (c x)}} \, dx=\frac {\sqrt {2 \pi } \sin \left (\frac {a}{b}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{\sqrt {b} c}-\frac {\sqrt {2 \pi } \cos \left (\frac {a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{\sqrt {b} c} \]
[In]
[Out]
Rule 3385
Rule 3386
Rule 3387
Rule 3432
Rule 3433
Rule 4720
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {\sin \left (\frac {a}{b}-\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arccos (c x)\right )}{b c} \\ & = -\frac {\cos \left (\frac {a}{b}\right ) \text {Subst}\left (\int \frac {\sin \left (\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arccos (c x)\right )}{b c}+\frac {\sin \left (\frac {a}{b}\right ) \text {Subst}\left (\int \frac {\cos \left (\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \arccos (c x)\right )}{b c} \\ & = -\frac {\left (2 \cos \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \sin \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \arccos (c x)}\right )}{b c}+\frac {\left (2 \sin \left (\frac {a}{b}\right )\right ) \text {Subst}\left (\int \cos \left (\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \arccos (c x)}\right )}{b c} \\ & = -\frac {\sqrt {2 \pi } \cos \left (\frac {a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right )}{\sqrt {b} c}+\frac {\sqrt {2 \pi } \operatorname {FresnelC}\left (\frac {\sqrt {\frac {2}{\pi }} \sqrt {a+b \arccos (c x)}}{\sqrt {b}}\right ) \sin \left (\frac {a}{b}\right )}{\sqrt {b} c} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.08 (sec) , antiderivative size = 118, normalized size of antiderivative = 1.16 \[ \int \frac {1}{\sqrt {a+b \arccos (c x)}} \, dx=\frac {e^{-\frac {i a}{b}} \left (\sqrt {-\frac {i (a+b \arccos (c x))}{b}} \Gamma \left (\frac {1}{2},-\frac {i (a+b \arccos (c x))}{b}\right )+e^{\frac {2 i a}{b}} \sqrt {\frac {i (a+b \arccos (c x))}{b}} \Gamma \left (\frac {1}{2},\frac {i (a+b \arccos (c x))}{b}\right )\right )}{2 c \sqrt {a+b \arccos (c x)}} \]
[In]
[Out]
Time = 1.30 (sec) , antiderivative size = 89, normalized size of antiderivative = 0.87
method | result | size |
default | \(\frac {\sqrt {2}\, \sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, \left (\cos \left (\frac {a}{b}\right ) \operatorname {FresnelS}\left (\frac {\sqrt {2}\, \sqrt {a +b \arccos \left (c x \right )}}{\sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, b}\right )+\sin \left (\frac {a}{b}\right ) \operatorname {FresnelC}\left (\frac {\sqrt {2}\, \sqrt {a +b \arccos \left (c x \right )}}{\sqrt {\pi }\, \sqrt {-\frac {1}{b}}\, b}\right )\right )}{c}\) | \(89\) |
[In]
[Out]
Exception generated. \[ \int \frac {1}{\sqrt {a+b \arccos (c x)}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {a+b \arccos (c x)}} \, dx=\int \frac {1}{\sqrt {a + b \operatorname {acos}{\left (c x \right )}}}\, dx \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {a+b \arccos (c x)}} \, dx=\int { \frac {1}{\sqrt {b \arccos \left (c x\right ) + a}} \,d x } \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.35 (sec) , antiderivative size = 159, normalized size of antiderivative = 1.56 \[ \int \frac {1}{\sqrt {a+b \arccos (c x)}} \, dx=\frac {i \, \sqrt {\pi } \operatorname {erf}\left (-\frac {i \, \sqrt {2} \sqrt {b \arccos \left (c x\right ) + a}}{2 \, \sqrt {{\left | b \right |}}} - \frac {\sqrt {2} \sqrt {b \arccos \left (c x\right ) + a} \sqrt {{\left | b \right |}}}{2 \, b}\right ) e^{\left (\frac {i \, a}{b}\right )}}{c {\left (\frac {i \, \sqrt {2} b}{\sqrt {{\left | b \right |}}} + \sqrt {2} \sqrt {{\left | b \right |}}\right )}} - \frac {i \, \sqrt {\pi } \operatorname {erf}\left (\frac {i \, \sqrt {2} \sqrt {b \arccos \left (c x\right ) + a}}{2 \, \sqrt {{\left | b \right |}}} - \frac {\sqrt {2} \sqrt {b \arccos \left (c x\right ) + a} \sqrt {{\left | b \right |}}}{2 \, b}\right ) e^{\left (-\frac {i \, a}{b}\right )}}{c {\left (-\frac {i \, \sqrt {2} b}{\sqrt {{\left | b \right |}}} + \sqrt {2} \sqrt {{\left | b \right |}}\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{\sqrt {a+b \arccos (c x)}} \, dx=\int \frac {1}{\sqrt {a+b\,\mathrm {acos}\left (c\,x\right )}} \,d x \]
[In]
[Out]